Module-level declarations

Types

Link copied to clipboard
struct gather_dto
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
val CELLS_TO_IGNORE_PARAM: text = "cells_to_ignore"

Functions

Link copied to clipboard
function _place_resource_node(place_resource_node_dto: place_resource_node_dto, plot: instance, plot_id: integer)
Link copied to clipboard
function deplete_resource_node(resource_node: resource_node)
Link copied to clipboard
function get_active_replenish_duration(configured_replenish_duration: integer): integer
Link copied to clipboard
function get_all_cells_for_resource_node(width: integer, height: integer, location: location, rotation: grid_rotation): set<location>
Link copied to clipboard
function process_gather(resource_node: resource_node, tool_name: text, account_id: byte_array)
Link copied to clipboard

Queries

Link copied to clipboard
@mount("resource_nodes.get_fast_replenish_duration") query get_fast_replenish_duration(): integer
Link copied to clipboard
@mount("resource_nodes.get_resource_node_prototypes") query get_resource_node_prototypes(): list<resource_node_prototype_dto>
Link copied to clipboard
@mount("resource_nodes.get_resource_nodes_on_plot") query get_resource_nodes_on_plot(plot_id: integer): list<resource_node_dto>

Operations

Link copied to clipboard
@mount("resource_nodes.gather") operation gather(account_id: byte_array, auth_descriptor_id: byte_array, gather_actions: list<gather_dto>)
Link copied to clipboard
@mount("resource_nodes.place_resource_nodes_on_plot") operation place_resource_nodes_on_plot(plot_id: integer, resource_nodes: list<place_resource_node_dto>)
Link copied to clipboard
@mount("resource_nodes.register_resource_node_prototype") operation register_resource_node_prototype(name: text, width: integer, height: integer, charges: integer, harvest_time: integer, replenish_duration: integer, durability_cost: integer, tier: integer, ground_type: ground_type, tool_category: tool_category, loot_table_name: text)
Link copied to clipboard
@mount("resource_nodes.relocate") operation relocate(account_id: byte_array, auth_descriptor_id: byte_array, relocate_actions: list<relocate_dto>)
Link copied to clipboard
@mount("resource_nodes.set_fast_replenish_duration") operation set_fast_replenish_duration(new_value: integer)
Link copied to clipboard
@mount("resource_nodes.update_resource_node_prototype") operation update_resource_node_prototype(new: resource_node_prototype_dto)